package com.example.hzly.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AccommodationFeatureMapper {
    
    @Select("SELECT feature_name FROM accommodation_feature WHERE accommodation_id = #{accommodationId}")
    List<String> selectByAccommodationId(@Param("accommodationId") Long accommodationId);
}